package ModelLayer;

public class Customer {
    
    //instance variables 
    private String cprno;
    private String fname;
    private String lname;
    private String phoneno;
    private String address;
    private City city;
    private Club club;
    public Customer() {
        
    }
    public Customer(String cprno){
        this.cprno = cprno;
    }
    public Customer (String cprno, String fname, String lname, String phoneno, String address, City city, Club club)
    {
        this.cprno = cprno;
        this.fname = fname;
        this.lname = lname;
        this.phoneno = phoneno;
        this.address = address;
        this.city = city;
        this.club = club;
    }
    //set methods
    public void setCprNo(String cprno)
    {
        this.cprno = cprno;
    }
    public void setFname (String fname){
        this.fname = fname;
    }
    public void setLname (String lname){
        this.lname = lname;
    }
    public void setPhoneNo (String phoneno){
        this.phoneno = phoneno;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }
    public void setCity(City city)
    {
        this.city = city;
    }
    public void setClub(Club club)
    {
        this.club = club;
    }
    //get method
    public String getCprNo()
    {
        return cprno;
    }
    public String getFname()
    {
        return fname;
    }
     public String getLname()
    {
        return lname;
    }
    public String getPhoneNo()
    {
        return phoneno;
    }
     public String getAddress()
    {
        return address;
    }
    public City getCity()
    {
        return city;
    }
     public Club getClub()
    {
        return club;
    }
}